package com.hxzy.controller.mobile.mapstruct;

import com.hxzy.controller.mobile.category.resp.MobileCategoryResp;
import com.hxzy.entity.CategoryClass;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @Author wy
 * @Description TODO
 * @Date 2023/7/20 14:40
 * @Version 1.0
 */
@Mapper
public interface MobileCategoryConvert {

    MobileCategoryConvert INSTANCE= Mappers.getMapper(MobileCategoryConvert.class);

    List<MobileCategoryResp>  convert(List<CategoryClass> list);
}
